package com.mgee.netty.server.netty.constant;

/**
 * 通用常量
 *
 * @author mwan
 */
public class CommonConstant {
    /**
     * header key name
     */
    public final static String HEADER_SESSION_ID = "sessionid";
    public final static String HEADER_UID = "userid";
    public final static String HEADER_TERMINAL_CODE = "terminalcode";
    public final static String HEADER_USER_PHONE = "userphone";
    public final static String HEADER_AUTHORIZATION = "Authorization";
    public final static String HEADER_USERNAME = "username";
    public final static String HEADER_DEPT_ID = "deptid";
    public final static String HEADER_DEPT_TYPE = "deptype";
    public final static String HEADER_USERTYPE = "usertype";
    /**
     * mybatis mapper里的wrapper参数名
     */
    public final static String SQL_WRAPPER = "ew";

    public final static String OSS_PREFFIX_IMG = "img/";
    public final static String OSS_PREFFIX_IMG_REFUND = "refundimg/";
    public final static String OSS_PREFFIX_IMG_POST = "postimg/";
    public final static String OSS_PREFFIX_VIDEO = "video/";
    public final static String OSS_PREFFIX_UEDITOR = "ueditor/";
    public final static String OSS_PREFFIX_QRCODE = "qrcode/";

    public final static String OSS_DOMAIN = "resource.chimeta.com";

    public final static String PREFFIX_PAYMENT_ORDER_EXPIRE = "payment:expire:order:";

    public final static String SENSITIVE_REFRESH_KEY = "sensitive";

    public final static String SENSITIVE_INIT_FINISH_IP = "sensitive:initFinishIp";

    public final static String SETTING_CODE_WECHAT_CARD_LOGO = "wechat-card-logo";
    
    
    public final static String GLOBAL_PARAM_CYM_MAXUSER_SECS = "global.cym.user.maxsec"; 
    public final static String GLOBAL_PARAM_CYM_FIRST_COUNTDOWN_SECS = "global.cym.user.first.countdown.sec";
    public final static String GLOBAL_PARAM_CYM_SECOND_COUNTDOWN_SECS = "global.cym.user.second.countdown.sec";
    public final static String GLOBAL_PARAM_CYM_CHARGE_INFORM_PHONE = "global.cym.user.charge.inform.phone";
    public final static String GLOBAL_PARAM_CYM_CHARGE_INFORM_EMAIL = "global.cym.user.charge.inform.email";
    public final static String GLOBAL_PARAM_CYM_COST_PRICE = "global.cym.user.charge.cost.price";
    
    public final static String GLOBAL_PARAM_MONITOR_SOCKET_URL = "monitor.socket.url"; 

}
